package com.kaili.basic.service;

import com.baomidou.mybatisplus.plugins.Page;
import com.kaili.basic.pojo.dto.MdmOpinionQueryDto;
import com.kaili.basic.pojo.entity.*;

import java.util.List;

/**
 * Created by linjian on 19-8-6.
 */
public interface IMdmOpinionService {

    void addOpinion(MdmOpinion opinion);

    List<MdmOpinionExport> opinionInfoExport(MdmOpinionQueryDto dto);

    MdmOpinionEntity queryOpinionById(Integer id);

    void updateRdStatusById(Integer id);

    Page<MdmOpinionInfoEntity> getBaseOpinionByCondition(Page<MdmOpinionInfoEntity> Page, MdmOpinionQueryDto dto);

    List<MdmBaseMenu> getTreeList();
}
